/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.deployment.interfacedao;

import br.com.deployment.entidade.registroimovel.Averbacao;
import br.com.deployment.entidade.registroimovel.Imovel;
import br.com.deployment.exception.CartorioException;
import java.util.List;

/**
 *
 * @author elyjr
 */

public interface _AverbacaoDao {
    void create(Averbacao averbacao) throws CartorioException;
    void edit(Averbacao averbacao) throws CartorioException;
    void remove(Averbacao averbacao) throws CartorioException;
    Boolean exist(int id)  throws CartorioException;
    Averbacao find(Averbacao id) throws CartorioException;
    List<Averbacao> findAll() throws CartorioException;
    Averbacao findUltima(Imovel imovel) throws  CartorioException;
    List<Averbacao> findAverbacao(Averbacao averbacao) throws CartorioException;
    List<Averbacao> findAverImovel(Imovel imovel, String order) throws CartorioException;
}
